<include file="Public:header"/>

<div class="table-tit clearfix">
    业绩报表
    <div class="col-sm-2 pull-right">
        <select class="form-control input-sm">
            <option value="0">当月数据</option>
            <option value="1">年度数据</option>
            <option value="2">2年数据</option>
            <option value="3">3年数据</option>
            <option value="3">自初始数据</option>
        </select>
    </div>
</div>
<table class="table table-bgfont" width="100%">
    <tr>
        <th colspan="8">数据总览</th>
    </tr>
    <tr>
        <td width="25%" colspan="2">
            <div class="report-all">
                <div class="report-all-top bord-blue-1">订单总量</div>
                <div class="progress bord-blue-1">
                    <div class="progress-bar" aria-valuemax="100" style="width:60%"></div>
                </div>
                <div class="report-all-fot bord-blue-a"><span>1489/￥78562125</span></div>
            </div>
        </td>
        <td width="25%" colspan="2">
            <div class="report-all">
                <div class="report-all-top bord-green-2">成交</div>
                <div class="progress bord-green-2">
                    <div class="progress-bar" aria-valuemax="100" style="width:60%"></div>
                </div>
                <div class="report-all-fot bord-green-b"><span>1489/￥11117865.2</span></div>
            </div>
        </td>
        <td width="25%" colspan="2">
            <div class="report-all">
                <div class="report-all-top bord-red-4">未完成</div>
                <div class="progress bord-red-4">
                    <div class="progress-bar" aria-valuemax="100" style="width:60%"></div>
                </div>
                <div class="report-all-fot bord-red-d"><span>1489/￥778</span></div>
            </div>
        </td>
        <td width="25%" colspan="2">
            <div class="report-all">
                <div class="report-all-top bord-yellos-3">取消</div>
                <div class="progress bord-yellos-3">
                    <div class="progress-bar" aria-valuemax="100" style="width:60%"></div>
                </div>
                <div class="report-all-fot bord-yellos-c"><span>1489/￥489</span></div>
            </div>
        </td>
    </tr>
    <tr>
        <th colspan="8">订单流量</th>
    </tr>
    <tr height="400">
        <td colspan="8" id="liul">&nbsp;</td>
    </tr>
    <tr>
        <th colspan="8">订单列表</th>
    </tr>
    <tr>
        <th>订单编号</th>
        <th>客户</th>
        <th>优惠金额</th>
        <th>应付金额</th>
        <th>实际金额</th>
        <th>下单时间</th>
        <th>支付时间</th>
        <th>订单状态</th>
    </tr>
    <for start="0" end="15">
        <tr>
            <td>OD1915707086102053</td>
            <td>大虫子</td>
            <td>149</td>
            <td>2150</td>
            <td>2299</td>
            <td>2015-07-08 10:20:53</td>
            <td>2015-07-08 18:14:53</td>
            <td>已完成</td>
        </tr>
    </for>
    <tr>
        <td colspan="8">PAGE</td>
    </tr>

</table>


<script src="__PUBLIC__/libs/echarts/echarts.js"></script>
<script>
    require.config({
        paths: {
            echarts: '__PUBLIC__/libs/echarts'
        }
    });
    require(
            [
                'echarts',
                'echarts/chart/pie',
                'echarts/chart/line'
            ],
            function (ec) {

                var myChart_a = ec.init(document.getElementById('liul'));
                option_a = {
                    tooltip: {trigger: 'axis'},
                    legend: {data: ['订单总量', '成交订单', '未完成订单', '取消/退款订单']},
                    toolbox: {
                        show: true,
                        feature: {dataView: {show: true, readOnly: false}, restore: {show: true}, saveAsImage: {show: true}}
                    },
                    calculable: true,
                    xAxis: [{
                            type: 'category', boundaryGap: false,
                            data: [
                                '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14',
                                '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30'
                            ]
                        }],
                    yAxis: [{type: 'value'}
                    ],
                    series: [
                        {
                            name: '订单总量', type: 'line', stack: '总量',
                            data: [
                                120, 132, 101, 134, 90, 230, 210, 120, 132, 101, 134, 90, 230, 210, 120, 132, 101,
                                134, 90, 230, 210, 120, 132, 101, 134, 90, 230, 210, 230, 210
                            ]
                        },
                        {
                            name: '成交订单', type: 'line', stack: '总量',
                            data: [
                                120, 132, 101, 134, 90, 230, 210, 120, 132, 101, 134, 90, 230, 210, 120, 132, 101,
                                134, 90, 230, 210, 120, 132, 101, 134, 90, 230, 210, 230, 210
                            ]
                        },
                        {
                            name: '未完成订单', type: 'line', stack: '总量',
                            data: [
                                120, 132, 101, 134, 90, 230, 210, 120, 132, 101, 134, 90, 230, 210, 120, 132, 101,
                                134, 90, 230, 210, 120, 132, 101, 134, 90, 230, 210, 230, 210
                            ]
                        },
                        {
                            name: '取消/退款订单', type: 'line', stack: '总量',
                            data: [
                                120, 132, 101, 134, 90, 230, 210, 120, 132, 101, 134, 90, 230, 210, 120, 132, 101,
                                134, 90, 230, 210, 120, 132, 101, 134, 90, 230, 210, 230, 210
                            ]
                        },
                    ]
                };
                myChart_a.setOption(option_a);

            }
    );
</script>
<include file="Public:footer"/>